﻿using Ekton_Manage_DomainCore.Aggregate;
using Ekton_Manage_DTO.RequestModels.Product;
using Ekton_Manage_DTO.RequestModels.User;
using Ekton_Manage_InfrastructureCore.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ekton_Manage_IBusiness
{
    public interface ICompany
    {
        /// <summary>
        /// 查询公司组织管理
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        Task<Tuple<List<company>, int>> GetCompany(QueryDataParame query);



        /// <summary>
        /// 编辑公司组织管理
        /// </summary>
        /// <returns></returns>
        Task<Message> PutCompany(DtoInsertCompany prouderTypeId);



   
        /// <summary>
        /// 添加公司组织管理
        /// </summary>
        /// <returns></returns>
        Task<Message> PostCompany(DtoInsertCompany prouderType);


        /// <summary>
        /// 删除公司组织管理
        /// </summary>
        /// <returns></returns>
        Task<Message> DeleteOrganizeInfo(int id);


    }
}
